import request from '@/utils/request'

// 查询山水介绍列表
export function listLandscapes_introduction(query) {
    return request({
        url: '/view/landscapes_introduction/list',
        method: 'get',
        params: query
    })
}

// 查询山水介绍详细
export function getLandscapes_introduction(id) {
    return request({
        url: '/view/landscapes_introduction/info',
        method: 'get',
        params: { id: id }
    })
}

// 新增山水介绍
export function addLandscapes_introduction(data) {
    return request({
        url: '/view/landscapes_introduction',
        method: 'post',
        data: data
    })
}

// 修改山水介绍
export function updateLandscapes_introduction(data) {
    return request({
        url: '/view/landscapes_introduction',
        method: 'put',
        data: data
    })
}

// 删除山水介绍
export function delLandscapes_introduction(id) {
    return request({
        url: '/view/landscapes_introduction/' + id,
        method: 'delete'
    })
}

// 导出山水介绍
export function exportLandscapes_introduction(query) {
    return request({
        url: '/view/landscapes_introduction/export',
        method: 'get',
        params: query
    })
}


// 查询乡村列表
export function listVillage(query) {
    return request({
        url: '/view/landscapes_introduction/getVillageMsg',
        method: 'get',
        params: query
    })
}